MAINNAME=projeto

all:
	mkdir -p build
	cp *.tex build
	cp -fR img build/
	cp -fR capit build/
	cp Makefile build/
	make -C build build 

build:
	pdflatex ${MAINNAME}.tex
	pdflatex ${MAINNAME}.tex
	cp ${MAINNAME}.pdf ../

clean:
	rm -fR build
	rm -fR ${MAINNAME}.pdf
